libxl: do not rely on guest to respond when forcing pci device removal
authorIan Campbell <ian.campbell@citrix.com>
Thu, 10 Mar 2011 18:21:42 +0000 (18:21 +0000)
committerIan Campbell <ian.campbell@citrix.com>
Thu, 10 Mar 2011 18:21:42 +0000 (18:21 +0000)
commit8627dcc084e9f84eaad8ec4723d86186440df8dd
treec3a33e6c300f91aa0fa50ca68d916bb73d452d9d
parentbea472a7e1b35effb24fae81fc556fbacd238e05
libxl: do not rely on guest to respond when forcing pci device removal

This is consistent with the expected semantics of a forced device
removal and also avoids a delay when destroying an HVM domain which
either does not support hot unplug (does not respond to SCI) or has
crashed.

Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Committed-by: Ian Jackson <ian.jackson@eu.citrix.com>
tools/libxl/libxl_pci.c